package org.afs.gescol.core.dao.interfaces;

import java.util.List;

import org.afs.gescol.core.dto.LevelCriteria;
import org.afs.gescol.core.model.references.Level;

/**
 * Dao interface for school Level management
 * @autor Kobla GBENYO (kobla.gbenyo@gmail.com)
 */
public interface LevelDao {

    /**
     * Get Level model by its id.
     * @param id the id of the Level to get
     * @return the Level to get
     */
    Level getLevelById(Long id);

    /**
     * Get a list of Level models by criteria.
     * @param levelCriteria the Level search criteria
     * @return the list of Level models that matches with the providing criteria
     */
    List<Level> getLevelsByCriteria(LevelCriteria levelCriteria);

}
